using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Survey : System.Web.UI.Page
{
	public string surveyName
	{
		get
		{
			return txtName.Value.ToString();
		}
	}
	public string surveyGender
	{
		get
		{
			if (optFemale.Checked)
				return "Female";
			else if (optMale.Checked)
				return "Male";
			else
				return "Not Set";
		}
	}
	public string surveyMBR
	{
		get
		{
			return chkMBR.Checked.ToString();
		}
	}
	public string surveyRR
	{
		get
		{
			return chkRR.Checked.ToString();
		}
	}
	public string surveyTrails
	{
		get
		{
			return txtTrails.Value;
		}
	}
	public string surveyLastRide
	{
		get
		{
			return calLast.SelectedDate.ToLongDateString();
		}
	}
	public string surveyNextRide
	{
		get
		{
			return calNext.SelectedDate.ToLongDateString();
		}
	}
	public string surveyAbility
	{
		get
		{
			return ddAbility.SelectedValue.ToString();
		}
	}
	public string surveyExperience
	{
		get
		{
			return lstExperience.SelectedValue.ToString();
		}
	}
	public string surveyGoals
	{
		get
		{
			string sGoals = "";
			foreach (ListItem goal in chkGoals.Items)
			{
				if (goal.Selected)
				{
					sGoals += goal.Text + "<br />";
				}
			}
			return sGoals;
		}
	}
	public string surveyMarketing
	{
		get
		{
			return optMarketing.SelectedValue.ToString();
			
		}
	}
	public string surveyRegion
	{
		get
		{
			return hdnRegion.Value.ToString();
		}
	}
	protected void imgMap_Click(object sender, ImageMapEventArgs e)
	{
		hdnRegion.Value = e.PostBackValue;
	}
}
